.loading {
  width: 100%;
  height: 26px;
  padding: 20px 0;
  color: #999;
  text-align: center;

  .loading-icon {
    display: inline-block;
    width: 16px;
    height: 16px;
    margin-right: 2px;
    vertical-align: middle;
    background: url('@/assets/image/loading.gif') no-repeat;
  }
}

.search-user-list {
  margin-top: 20px;
  text-align: left;

  .search-user-item {
    display: flex;
    width: 100%;
    height: 62px;
    padding-top: 5px;
    padding-bottom: 5px;
    line-height: 52px;
    vertical-align: middle;
    border: 1px solid #fff;
    box-sizing: border-box;

    &:hover {
      background-color: #f2f2f2;
      border: 1px solid #e1e1e1;
    }

    .item-cover {
      display: inline-block;
      width: 50px;
      height: 50px;
      margin-left: 10px;
      vertical-align: middle;
      cursor: pointer;

      .img {
        width: 100%;
        height: 100%;
      }
    }

    .item-title {
      display: inline-block;
      max-width: 465px;
      margin-right: 10px;
      margin-left: 20px;
      vertical-align: middle;
      flex: 1;
      align-items: center;

      .text {
        display: inline-block;
        max-width: 100%;
        overflow: hidden;
        font-size: 14px;
        text-overflow: ellipsis;
        white-space: nowrap;
        vertical-align: middle;
        cursor: pointer;

        &:hover {
          text-decoration: underline;
        }
      }

      .icon-sex {
        display: inline-block;
        width: 14px;
        height: 15px;
        margin-left: 5px;
        vertical-align: middle;
        cursor: pointer;
        background: url('@/assets/image/icon.png');
      }

      .male {
        background-position: -70px -20px;
      }

      .female {
        background-position: -70px 0;
      }
    }

    .item-follow {
      display: inline-block;
      width: 96px;
      padding: 0 10px;
      vertical-align: middle;

      .follow-btn {
        display: inline-block;
        width: 64px;
        height: 27px;
        padding-left: 17px;
        vertical-align: middle;
        cursor: pointer;
        background: url('@/assets/image/my-music/icon-button.png');
        border: none;
        outline: none;
        background-position: 0 -990px;

        &:hover {
          background-position: 0 -1020px;
        }
      }

      .followed {
        background-position: 0 -1082px;
        color: #bebebe;
        cursor: default;

        &:hover {
          background-position: 0 -1082px;
          color: #bebebe;
          cursor: default;
        }
      }
    }

    .item-text {
      display: inline-block;
      width: 96px;
      padding: 0 10px;
      color: #999;
      vertical-align: middle;
    }
  }

  .even {
    background-color: #f7f7f7;
  }
}
